package com.lion.logclientstarter.service.impl;

import com.lion.logclientstarter.bean.LogEntity;
import com.lion.logclientstarter.service.LogClient;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author linbin
 * @Description
 **/
@Slf4j
public class LogClientImpl implements LogClient {
    @Override
    public void record(LogEntity logEntity) {
        //简单实现仅做log输出
        //可以不做实际落库操作仅输出有关日志，后期可依据具体的需求调整MQ，直接落库等方案
        log.info("实现默认client：数据未落库:{}", logEntity.toString());
    }
}
